package com.vshop.entity.optimize.reorder.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用json的形式：
 * <p>
 * 请求续订套餐的参数
 *
 * @author lm
 * @date 2020/10/10 17:19
 */
@Data
public class RenewRequest implements Serializable {

    @ApiModelProperty(value = "版本号", example = "", dataType = "String")
    private String version;

    @ApiModelProperty(value = "渠道编码", example = "", dataType = "String")
    private String access_code;

    @ApiModelProperty(value = "发送请求的UTC时间戳", example = "", dataType = "String")
    private String timestamp;

    @ApiModelProperty(value = "续订周期", example = "", dataType = "String")
    private String renew_period;

    @ApiModelProperty(value = "商城唯一单号", example = "", dataType = "String")
    private String serial_number;

    @ApiModelProperty(value = "订单号", example = "", dataType = "String")
    private String order_id;

    @ApiModelProperty(value = "签名", example = "", dataType = "String")
    private String sign;

    @ApiModelProperty(value = "交易类型：（付款模式）：0-单次购买；1-周期订阅", example = "0", dataType = "String")
    private String payMode;
}
